package com.woniuxy.homepage.core.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("car_type")
@ApiModel(value="CarType对象", description="")
public class CarType implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "汽车系列id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "车系")
    private String typeName;

    @ApiModelProperty(value = "图标")
    private String img;

    @ApiModelProperty(value = "品牌id")
    private Integer brandId;

    @ApiModelProperty(value = "软删除：0，未删除 1，删除")
    private Integer flag;


}
